home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-12-30 | 1.3 KB | 45 lines | [TEXT/MPS ] |
- Point RECORD 0; Point = RECORD CASE INTEGER OF
- v DS.W 1; 1: (v: INTEGER;
- h DS.W 1; h: INTEGER);
- ORG v; 2: (vh: ARRAY[1..2]
- vh DS.W h; OF INTEGER)
- ENDR ; END;
-
- Rect RECORD 0; Rect = RECORD CASE INTEGER OF
- top DS.W 1; 1: (top: INTEGER;
- left DS.W 1; left: INTEGER;
- bottom DS.W 1; bottom: INTEGER;
- right DS.W 1; right: INTEGER);
- ORG top;
- topLeft DS.L Point; 2: (topLeft: Point;
- botRight DS.L Point; 3: (botRight: Point)
- ENDR ; END;
-
- BitMap RECORD 0; BitMap = RECORD
- baseAddr DS.L 1; baseAddr: QDPtr;
- rowBytes DS.W 1; rowBytes: INTEGER;
- bounds DS.L Rect; bounds: Rect
- ENDR ; END;
-
- QuickDraw RECORD ,DECREMENT
- thePort DS.L 1
- white DS.B 8
- black DS.B 8
- gray DS.B 8
- ltGray DS.B 8
- dkGray DS.B 8
- arrow DS.B cursRec
- screenBits DS.B BitMap
- randSeed DS.L 1
- ORG -grafSize
- ENDR
-
- EventRecord RECORD 0 ; EventRecord = RECORD
- what DS.W 1 ; what: INTEGER;
- message DS.L 1 ; message: LONGINT;
- when DS.L 1 ; when: LONGINT;
- where DS.L Point ; where: Point;
- modifiers DS.W 1 ; modifiers: INTEGER
- ENDR ; END;
-
-